<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" %>
<html>
<head>
    <title>文件上传</title>
</head>
<body>
<h1>${requestScope.error}</h1>
    <form action="${pageContext.request.contextPath}/uploader" enctype="multipart/form-data" method="post">
        名字:<input type="text" name="name"> <br />
        文件:<input type="file" name="uploader"> <br />
        <input type="submit" value="上传">
    </form>
</body>
</html>
